/*
 * @Author: 大D
 * @email: 857216393@qq.com
 * @Date: 2024-02-04 13:30:44
 * @Description:权限指令
 */

import type { Directive } from 'vue';

const permission: Directive = (el, binding) => {
  if (binding.value != 'admin') {
    el.disabled = true;
  }
};
export default permission;
